home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / -archivi / -recent1 / nsm_tnw041b.lha / tracknameswindow / quittracknameswindow.c < prev    next >
C/C++ Source or Header  |  1999-01-07  |  381b  |  26 lines

  1. /* A small plug-in that tells the tracknameswindow
  2.    to quit. Link with annomanno.o and /octacontrol.o.
  3.  
  4.    Made by Kjetil S. Matheussen 1999.
  5. */
  6.  
  7.  
  8.  
  9.  
  10. #include "tracknameswindow.h"
  11.  
  12. void main(void){
  13.     OCTABASE ob;
  14.  
  15.     if((ob=getoctabase())==0) goto exit;
  16.  
  17.     if(strcmp(gettrackname(ob,0,0),"QNM"))
  18.         sendrexx("SG_LOADANNOTEXT \"nsm:plainnames\"");
  19.  
  20.     settracknamedata(ob,65);
  21.  
  22. exit:
  23. }
  24.  
  25.  
  26.